package com.grad.why.studentsystem.mapper;

import com.grad.why.studentsystem.domain.Moduleinfos;
import com.grad.why.studentsystem.domain.ModuleinfosExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ModuleinfosMapper {
    int countByExample(ModuleinfosExample example);

    int deleteByExample(ModuleinfosExample example);

    int deleteByPrimaryKey(Integer moduleid);

    int insert(Moduleinfos record);

    int insertSelective(Moduleinfos record);

    List<Moduleinfos> selectByExample(ModuleinfosExample example);

    Moduleinfos selectByPrimaryKey(Integer moduleid);

    int updateByExampleSelective(@Param("record") Moduleinfos record, @Param("example") ModuleinfosExample example);

    int updateByExample(@Param("record") Moduleinfos record, @Param("example") ModuleinfosExample example);

    int updateByPrimaryKeySelective(Moduleinfos record);

    int updateByPrimaryKey(Moduleinfos record);
}